from applications.extensions import ma
from marshmallow import fields


# 情绪课程关键帧序列化
class PsyTrainStatusSchema(ma.Schema):
    id = fields.Integer()
    user_id = fields.Integer()
    user_code = fields.Str()
    user_name = fields.Str()
    user_status = fields.Str()
    time = fields.DateTime()